package com.pdg.android.splorr.data.enums;

import com.pdg.android.splorr.R;

public enum TakeItemActionResult {
	SUCCESS(true,R.string.item_take_action_result_success,true);
	private boolean success;
	private int stringId;
	private boolean formatString;

	TakeItemActionResult(boolean theSuccess,int theStringId,boolean isFormatString){
		setSuccess(theSuccess);
		setStringId(theStringId);
		setFormatString(isFormatString);
	}

	private void setStringId(int theStringId) {
		stringId = theStringId;
	}

	private void setSuccess(boolean theSuccess) {
		success = theSuccess;
	}

	public boolean isSuccess() {
		return success;
	}
	
	public int getStringId(){
		return stringId;
	}

	public boolean isFormatString() {
		return formatString;
	}

	private void setFormatString(boolean formatString) {
		this.formatString = formatString;
	}

}
